//
// Created by gogoqiu on 2022/3/23.
//

#ifndef RAPIDSVN_CMAKE_BASE_H
#define RAPIDSVN_CMAKE_BASE_H
#include "wx/wx.h"
//sqlite, mysql...
struct MySettingsQueryEngineInterface{
    //eg:
    virtual int QueryString( char* key, char* result ) = 0;
    virtual int QueryBoolean( char* key, bool* result ) = 0;
};

//total layer
struct SettingInterface{
    virtual int loadAll() = 0;
};

class MyObj : public wxObject
{
public:
    MyObj () { data = nullptr; }
    explicit MyObj (void *in_data) { data = in_data; }
    ~MyObj () override { data = nullptr; }
    void *data;
};
#endif //RAPIDSVN_CMAKE_BASE_H
